home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / g__~1 / gplibs20.zoo / makefile.32 < prev    next >
Encoding:
Makefile  |  1993-07-13  |  1.1 KB  |  52 lines

  1. # Makefile for the atariST g++  library (32 bit int default)
  2.  
  3. GXX= gcc
  4. CC= gcc
  5. CPP= gcc-cpp
  6. AR= gcc-ar
  7. AS= $(CC)
  8.  
  9. LIB = d:\gnu\lib
  10. GXXLIB = $(LIB)
  11.  
  12. # common subset of options; no int size or omit-frame-pointer:
  13. COMMONOPT = -O2 -fstrength-reduce
  14. COMMONFLAGS =
  15. COMMONDEFINES = -DNO_LIBGXX_MALLOC -DNDEBUG
  16.  
  17. COPTS= $(COMMONOPT) $(COMMONFLAGS) $(COMMONDEFINES)  \
  18.        $(XFLAGS)
  19.  
  20. # dont know why but -fsave-memoized gives false errors
  21. # about access to protected members
  22. GXXOPTS= $(COMMONOPT) $(COMMONFLAGS) $(COMMONDEFINES)  \
  23.        -felide-constructors  $(XXFLAGS) -I$(GXXINC)
  24.  
  25. # Base options CC; includes int size but not omit-frame-pointer
  26. CFFLAGS = $(COPTS)
  27. GXXFFLAGS = $(GXXOPTS) 
  28.  
  29. # normal CFLAGS including int size and omit-frame-pointer
  30. CFLAGS= $(CFFLAGS) -fomit-frame-pointer
  31. GXXFLAGS = $(GXXFFLAGS) -fomit-frame-pointer
  32.  
  33. # cflags for stuff that needs to be compiled with 32 bit ints
  34. CLFLAGS= $(CFLAGS)
  35. GXXLFLAGS = $(GXXFLAGS)
  36.  
  37. # flags to $(CC) when it runs the assembler only
  38. ASFLAGS= -c
  39.  
  40. # pre-processor flags
  41. PPFLAGS= -P # -DNDEBUG
  42.  
  43. # library targets
  44. LIBG++= g++.olb
  45. LIBG++020 = g++020.olb
  46.  
  47. # the stuff to make
  48. ALL= $(LIBG++)
  49. ALL020 = $(LIBG++020)
  50.  
  51. include mincl
  52.